﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SaleLibrary.Score;

namespace SaleLibrary.Sale
{
    /// <summary>
    /// 销售单
    /// </summary>
    public interface ISaleBill
    {
        /// <summary>
        /// 主键
        /// </summary>
        int Id { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        int Number { get; set; }
        /// <summary>
        /// 单据日期
        /// </summary>
        int BillDate { get; set; }
        /// <summary>
        /// 发送者
        /// </summary>
        IClient Sender { get; set; }
        /// <summary>
        /// 注册用户
        /// </summary>
        IClient Customer { get; set; }
        /// <summary>
        /// 积分方式
        /// </summary>
        IScoreRule Rule { get; set; }
        /// <summary>
        /// 结算方式
        /// </summary>
        ISaleSettleType SettleType { get; set; }
        /// <summary>
        /// 付款方式
        /// </summary>
        ISalePaymentType PaymentType { get; set; }
        /// <summary>
        /// 合计金额
        /// </summary>
        double TotalAmount { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        string Description { get; set; }
        /// <summary>
        /// 是否发送
        /// </summary>
        bool IsSend { get; set; }

        Guid GUID { get; set; }
    }
}
